<template>
  <div>
    <a :href="url">点我去百度</a>
    <img :src="imgUrl" alt="" />
  </div>
</template>

<script>
export default {
  data() {
    return {
      url: "http://www.baidu.com",
      imgUrl:
        "https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=3133886489,815967745&fm=26&gp=0.jpg",
    };
  },
};
</script>

<style>
</style>